package com.duoqin.syncassistant.data;

import com.google.gson.annotations.SerializedName;

/**
 * id : 8
 * path : http://localhost:9000/vcard/1/1527839505125.vcf
 * hash : abcdefghi123321
 * count : 110
 * createAt : 1527839505126
 */
public class BackupFileInfo {
    @SerializedName("id")
    private int id;
    @SerializedName("path")
    private String path;
    @SerializedName("hash")
    private String hash;
    @SerializedName("count")
    private int count;
    @SerializedName("createAt")
    private long createAt;

    public BackupFileInfo() {
        setId(-1);
        setPath(null);
        setHash(null);
        setCount(0);
        setCreateAt(System.currentTimeMillis());
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(long createAt) {
        this.createAt = createAt;
    }
}
